-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.4.1
-
Code
-
Classes
- Replacer
Total Complexity |
80 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
476 |
Lines of code |
327 |
Logical lines of code |
197 |
Comment lines |
65 |
Methods |
17 |
Properties |
4 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
replace() |
B |
33 |
19 |
100 |
replaceContent() |
A |
44 |
15 |
46 |
findNearestSize() |
A |
49 |
9 |
30 |
handleMetaData() |
S |
45 |
6 |
42 |
doReplaceQuery() |
S |
49 |
5 |
30 |
change_key() |
S |
62 |
6 |
11 |
getFilesFromMetadata() |
S |
59 |
5 |
16 |
getRelativeURLS() |
S |
54 |
3 |
20 |
isJSON() |
S |
69 |
4 |
6 |
loadFormats() |
S |
74 |
1 |
5 |
setTargetMeta() |
S |
81 |
1 |
3 |
setSourceMeta() |
S |
81 |
1 |
3 |
getTarget() |
S |
82 |
1 |
3 |
setTarget() |
S |
81 |
1 |
3 |
getSource() |
S |
82 |
1 |
3 |
setSource() |
S |
81 |
1 |
3 |
__construct() |
S |
82 |
1 |
3 |